import { request, config } from 'utils'

const { api } = config
const { applicationSave,applicationUpdate,changeGzcFile,changeGzcFileSave,getGzcFileDetails,getGzcFileList,updateFileSave,
	documentCoverInfo,documentCoverNew,documentCoverUpdate,getCodeNumber } = api

export async function applicationSave1 (params) {
	return request({
	    url: applicationSave,
	    method: 'post',
	    data: params,
	})	
}

export async function applicationUpdate1 (params) {
	return request({
		url:applicationUpdate,
		method:'post',
		data:params,
	})
}

export async function changeGzcFile1 (params) {
	return request({
		url:changeGzcFile,
		method:'post',
		data:params,
	})
}

export async function changeGzcFileSave1 (params) {
	return request({
		url:changeGzcFileSave,
		method:'post',
		data:params,
	})
}

export async function getGzcFileDetails1 (params) {
	return request({
		url:getGzcFileDetails,
		method:'post',
		data:params,
	})
}

export async function getGzcFileList1 (params) {
	return request({
		url:getGzcFileList,
		method:'post',
		data:params,
	})
}

export async function updateFileSave1 (params) {
	return request({
		url:updateFileSave,
		method:'post',
		data:params
	})
}

export async function documentCoverInfo1 (params) {
	return request({
		url:documentCoverInfo,
		method:'post',
		data:params
	})
}

export async function documentCoverNew1 (params) {
	return request({
		url:documentCoverNew,
		method:'post',
		data:params
	})
}

export async function documentCoverUpdate1 (params) {
	return request({
		url:documentCoverUpdate,
		method:'post',
		data:params
	})
}

export async function getCodeNumber1 (params) {
	return request({
		url:getCodeNumber,
		method:'post',
		data:params
	})
}